{foreach from = $items item = row name=foreach_row}
	{cycle values="line1,line2" assign="line"}
	<tr>
	{if $WEB_APP.editform eq TRUE && $WEB_APP.list_actions_access}
		{if !isset($WEB_APP.hide_delete)}<td class="{$line}"><input type="checkbox" name="selected_row[{$smarty.foreach.foreach_row.iteration}]" value="{$row.id}" id="checkbox_row_{$row.id}"  /></td>{/if}
	{/if}
	{foreach from = $columns item = item}
	{assign var="field" value=$item->title}
		{if isset($WEB_APP.escape)}
			<td class="{$line}">{$row[$field]|escape|email|replace:"\r\n":"<br>"}</td>
		{else}
			<td class="{$line}">{$row[$field]}</td>
		{/if}
	{/foreach}
	{if $WEB_APP.editform eq TRUE && isset($WEB_APP.row_actions) && $WEB_APP.row_actions_access}
		<td align=center width="100" class="{$line}">
				{foreach from = $WEB_APP.row_actions item = action}
                    {if in_array($action->name, $WEB_APP.actions)}
					   <a href="{$WEB_APP.script_name}&amp;action={$action->name}&amp;id={$row.id}"  style="background-color: transparent;"><img src="{$WEB_APP.images_dir}{$action->image}" border=0 title="{$action->title}"></a> 
                    {/if}
				{/foreach}
		</td>
 	{/if}
	</tr>
{/foreach}
